import request from "../utils/http2.js";
export function cxLogin(payload) {
  return request({
    url: "/login",
    method: "post",
    data: payload,
  });
}
export function formData(params) {
  return request({
    url: "/formMix/get",
    method: "get",
    params: params,
  });
}
export function formDataReport(params) {
  return request({
    url: "/formMix/getReport",
    method: "get",
    params: params,
  });
}
export function formEchartData(params) {
  return request({
    url: "/formPlcEcharts/dustRemovalFan",
    method: "get",
    params: params,
  });
}
export function formEchart2Data(params) {
  return request({
    url: "/formPlcEcharts/formChartReport",
    method: "get",
    params: params,
  });
}
export function formCalcineData(params) {
  return request({
    url: "/formPlcEcharts/calcine",
    method: "get",
    params: params,
  });
}
export function formAllData(params) {
  return request({
    url: "/formChargerReport/getAll",
    method: "get",
    params: params,
  });
}
export function getReportData1(params) {
  return request({
    url: "/graReport/getHisStove",
    method: "get",
    params: params,
  });
}
export function getReportData2(params) {
  return request({
    url: "/graReport/getReportData",
    method: "get",
    params: params,
  });
}
export function displacementTable(params) {
  return request({
    url: '/graphitingData/getDisplaceChange',
    method: 'get',
    params: params
  })
}
export function roastData (params) {
  return request({
    url: 'roastEcharts/roastTemperature',
    method: 'get',
    params: params
  })
}
// http://101.42.233.226:8060/formPlcEcharts/calcine?code=62a888b0d8a1cbe11b55b494

// http://101.42.233.226:8060/graReport/getHisStove?app=stove

// http://101.42.233.226:8060/formChargerReport/getAll

// formPlcEcharts/dustRemovalFan
